<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<base th:href="@{/}">
<title>Title</title>
<link rel="stylesheet" th:href="@{css/layui.css}" />
<script type="text/javascript" th:src="@{js/jquery-1.11.1.min.js}"></script>
<script type="text/javascript">
</script>
<style>
.window {
	width: 450px;
	position: absolute;
	margin-left: -200px;
	margin-top: -80px;
	top: 50%;
	left: 50%;
	display: block;
	z-index: 2000;
	background: #fff;
	padding: 20 0;
}
</style>
</head>
<body style="background: #f1f1f1;">
	<div class="window">
		<form class="layui-form" method="post" th:action="@{user/login}">
			<div class="layui-form-item"
				style="margin-right: 50px; margin-top: 20px;">
				<label class="layui-form-label">用户名：</label>
				<div class="layui-input-block">
					<input type="text" name="userName" required lay-verify="required"
						placeholder="请输入账号" autocomplete="off" class="layui-input"
						id="account">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label" >密                      码:</label>
				<div class="layui-input-block">
					<input type="password" name="password" required
						lay-verify="required" placeholder="请输入密码" autocomplete="off"
						class="layui-input" id="password">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">动态密码:</label>
				<div class="layui-input-block">
					<input type="password" name="gaCode" required
						lay-verify="required" placeholder="动态密码" autocomplete="off"
						class="layui-input" id="dinamicpassword">
				</div>
			</div>
			<div class="layui-form-item">
				
				<div style="text-align: center;">
				<a th:href="@{register}" class="layui-btn"> 注册</a>
					<input type="submit" class="layui-btn" value="登录" />
				</div>
			</div>
		</form>


	</div>

</body>